Page({
  data:{
    saveName:""
  },
  getName: function(e) {
    // var val = e.detail.value;
    // this.setData({
    //   saveName: e.detail.value
    // })
    console.log(e)
  },
  saveNameBtn: function(e) {
    let pages = getCurrentPages();
    let prevPage = pages[pages.length - 2]; //上一页
    console.log(saveName)
  }
})